<form id="add-form" class="form-horizontal form-ajax" role="form" data-toggle="validator" method="POST" action="">
    <div class="form-group">
        <label for="begintime" class="control-label col-xs-12 col-sm-2">{:__('facetime')}:</label>
        <div class="col-xs-12 col-sm-4">
            <input type="text" class="form-control datetimepicker" id="begintime" name="row[begintime]" value="{$row.begintime}" data-date-format="YYYY-MM-DD" data-rule="{:__('createtime')}:required" size="6" />
        </div>
    </div>


    <div class="form-group">
        <label for="facetype" class="control-label col-xs-12 col-sm-2">{:__('facetype')}:</label>
        <div class="col-xs-12 col-sm-8">
            <select  id="facetype" data-rule="required" class="form-control selectpicker" name="row[facetype]">
                <option value="" selected="true" disabled="true">选择类型</option>
                {foreach name="facetypelist" item="vo"}
                <option value="{$vo.id}" {eq name="$vo.id" value="$row.facetype"}selected{/eq}>{$vo.name}</option>
                {/foreach}
            </select>
        </div>
    </div>
    <div class="form-group">
        <label for="faceinfo" class="control-label col-xs-12 col-sm-2">{:__('faceinfo')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="faceinfo" class="form-control" name="row[faceinfo]" type="text" value="{$row.faceinfo}" data-rule="required" >
        </div>
    </div>

    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
